package com.ruoyi.system.domain.po;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class CustomerRechargePO {

    /**
     * 客户id
     */
    @NotBlank
    private String customerPhone;

    /**
     * 充值金额
     */
    @NotNull
    @Min(value = 100, message = "最少充值金额:100元")
    private BigDecimal rechargeAmount;

    /**
     * 充值类型
     */
    private Integer rechargeType;

    /**
     * 充值备注
     */
    private String remarks;

    /**
     * 是否是开会员
     */
    private boolean vip = false;

}
